package com.xxg.renrenproduct.dao.bean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.Date;
import java.util.List;

/**
 * 上传商品信息
 *
 * @author szj
 * @date 2021/12/29
 */
@Data
@Document(collection = "uploadGoodsInfo")
@ApiModel
public class UploadGoodsInfo {
    @ApiModelProperty("批次号")
    private String id;
    @ApiModelProperty("创建时间")
    private Date createTime;
    /**
     * 错误信息
     */
    @ApiModelProperty("错误信息")
    private String errorMessage;
    /**
     * 错误数据
     */
    @ApiModelProperty("错误数据")
    private String errorData;
    /**
     * 创建成功的商品id列表
     */
    @ApiModelProperty(value = "创建成功的商品id列表", hidden = true)
    private List<Integer> uploadIds;
}
